package com.gzhryc.net_marketing.cloud.micro.api.dto.v1;

import com.gzhryc.common.api.SecurityRequest;

import java.io.Serializable;

/**
 * 直接购买商品
 */
public class GoodsPayRequest extends SecurityRequest<GoodsPayRequest.Body> {

	private static final long serialVersionUID = 1L;

	public GoodsPayRequest() {
		this.body = new Body();
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;

		private String tradeNo;
		private Long goodsId;
		private Integer goodsNum;
		private Long specificationId;		//规格参数ID
		private Double walletMoney = 0.0;	//钱包余额
		private Long virtualMoney = 0L;		//积分
		private Double payMoney = 0.0;	 	//支付金额
		private String appId;
		private Integer payType;
		private String note;
		private Long addressId;
		private String couponId;
		private String logisticsCompanyId;	//物流公司ID

		public String getTradeNo() {
			return tradeNo;
		}

		public void setTradeNo(String tradeNo) {
			this.tradeNo = tradeNo;
		}

		public Long getGoodsId() {
			return goodsId;
		}

		public void setGoodsId(Long goodsId) {
			this.goodsId = goodsId;
		}

		public Integer getGoodsNum() {
			return goodsNum;
		}

		public void setGoodsNum(Integer goodsNum) {
			this.goodsNum = goodsNum;
		}

		public Long getSpecificationId() {
			return specificationId;
		}

		public void setSpecificationId(Long specificationId) {
			this.specificationId = specificationId;
		}

		public String getAppId() {
			return appId;
		}

		public void setAppId(String appId) {
			this.appId = appId;
		}

		public Double getWalletMoney() {
			return walletMoney;
		}

		public void setWalletMoney(Double walletMoney) {
			this.walletMoney = walletMoney;
		}

		public Long getVirtualMoney() {
			return virtualMoney;
		}

		public void setVirtualMoney(Long virtualMoney) {
			this.virtualMoney = virtualMoney;
		}

		public Double getPayMoney() {
			return payMoney;
		}

		public void setPayMoney(Double payMoney) {
			this.payMoney = payMoney;
		}

		public Integer getPayType() {
			return payType;
		}

		public void setPayType(Integer payType) {
			this.payType = payType;
		}

		public String getNote() {
			return note;
		}

		public void setNote(String note) {
			this.note = note;
		}

		public Long getAddressId() {
			return addressId;
		}

		public void setAddressId(Long addressId) {
			this.addressId = addressId;
		}

		public String getCouponId() {
			return couponId;
		}

		public void setCouponId(String couponId) {
			this.couponId = couponId;
		}

		public String getLogisticsCompanyId() {
			return logisticsCompanyId;
		}

		public void setLogisticsCompanyId(String logisticsCompanyId) {
			this.logisticsCompanyId = logisticsCompanyId;
		}
	}

}
